import request from '../request'

// 获取工作详情
/**
 * 获取未签署的合同列表
 *
 * @param data 请求参数
 * @param data.companyId 公司ID
 * @returns 返回未签署的合同列表
 */
export function getUnsignedContactList(data: {
    companyId: number
}) {
    return request.get('/api/v2/ele-sign/contract-record/list-not-signed', data) as Promise<any[]>
}

// 获取验证码 /api/v1/blue/send-verify-code /api/v1/blue/send-verify-code
export function getSendVerifyCode(data: any) {
    return request.post('/api/v1/blue/user/send-verify-code'.replace(/%E2%80%8B/g, ''), data) as Promise<any[]>
}

// 验证码校验
export function getCheckVerifyCode(data: any) {
    return request.post('/api/v1/blue/user/check-verify-code'.replace(/%E2%80%8B/g, ''), data) as Promise<any>
}
